package com.whc.gulimall.order.feign;

import com.whc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 购物车相关远程调用
 *
 * @author angaoen
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {

    /**
     * 获取购物车列表
     *
     * @return List<ProductVo>
     */
    @GetMapping("/products")
    R listProductList();
}
